package com.oauth.dao.repository;

import com.oauth.model.UserModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Service;

@Service
public interface UserRepository extends JpaRepository<UserModel,Long> {
   UserModel findByPhone(String phone);
   UserModel findByUsername(String username);
}
